package com.coolingme.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@TableName(value = "a_user_info")
public class UserInfo extends Model<UserInfo> {
	private static final long serialVersionUID = 7201466272579372939L;

	public UserInfo(Integer userId) {
		super();
		this.userId = userId;
	}

	private Integer id;

	private Integer userId;

	@ApiModelProperty(value = "昵称")
	private String nickName;

	private String openid;

	private String weixinName;

	private Integer integral;

	private Date createdDate;

	private Date updateDate;

	private String state;

}